Skip to content

Instantly share code, notes, and snippets.

@madhurimarawat
madhurimarawat / GATE-CSE-DS-Resources.md
Last active January 31, 2026 19:36
A collection of the best free GATE preparation resources for CSE & Data Science. Contributions are welcome!

📌 GATE Resources – CSE & Data Science

I’ve compiled all the resources that helped me in my GATE preparation, and I hope they help you too! 🚀
These are high-quality, freely available study materials that cover notes, past papers, and courses.

These are some notes on the performance work that went into alien-signals. I'm sharing them not as a definitive guide, but as a log of a few key discoveries. The hope is that some of these findings might be useful to others tackling similar problems in high-performance JavaScript.

The Origin: Push-Pull-Push

My journey into the depths of reactivity performance began with Vue. I was trying to solve a specific problem in Vue 3.4: even if a computed's value didn't change, it would still trigger downstream computations and effects. This seemed inefficient. My attempt to fix this resulted in a pull request (vuejs/core#5912) that, after a year of discussions, was eventually merged. This PR introduced the Push-Pull-Push model to Vue 3.4, a model also adopted by libraries like reactivity.

For a time, I thought this was near-perfect. Then I saw the plans for Vue 3.5, which adopted a doubly-linked list but also moved to a pure pull-based model. I was still convinced

{
"name": "base-setup",
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installOhMyZsh": true,
"configureZshAsDefaultShell": true
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/sshd:1": {}
@tmcw
tmcw / index.js
Created February 1, 2015 00:43
requirebin sketch
var swot = require('swot-simple');
// DEMO OF THE SWOT-SIMPLE MODULE
// type an email address in the input to the right and
// this will tell you if it's academic.
var input = document.body.appendChild(document.createElement('input'));
var output = document.body.appendChild(document.createElement('span'));
input.oninput = function() {
output.innerHTML = swot.isAcademic(input.value) ? 'academic' : 'not';
@antirez
antirez / codex_skill.md
Created January 30, 2026 19:09
CLAUDE_CODEX_SKILL.md

How to Use Codex from Claude Code

Codex is an AI-powered CLI tool that can help with complex debugging, code analysis, and technical questions. When you encounter difficult problems that would benefit from a second perspective or deep analysis, use Codex.

When to Use Codex

  • Debugging subtle bugs (e.g., bitstream alignment issues, off-by-one errors)
  • Analyzing complex algorithms against specifications
  • Getting a detailed code review with specific bug identification
  • Understanding obscure file formats or protocols
@dmitry-osin
dmitry-osin / tailwind-css-cheatsheet-rus.md
Created May 1, 2025 20:23
Шпаргалка по Tailwind CSS

Шпаргалка по Tailwind CSS

Tailwind CSS - это утилитарный CSS-фреймворк, который позволяет быстро создавать пользовательские интерфейсы с помощью встроенных классов. Давайте составим подробную шпаргалку по основным возможностям и компонентам Tailwind.

Основные концепции

Tailwind работает на основе классов утилит, которые применяются непосредственно в HTML. Вместо написания CSS, вы используете предопределенные классы для стилизации элементов.

Установка и настройка

@intergalacticspacehighway
intergalacticspacehighway / SyncTextInputValidation.tsx
Last active January 31, 2026 19:23
Synchronous validation with React Native TextInput
import { TextInput } from 'react-native';
import Animated, {
useAnimatedRef,
useHandler,
dispatchCommand,
useEvent,
} from 'react-native-reanimated';
const AnimatedTextInput = Animated.createAnimatedComponent(TextInput);
@LordOfFrogs
LordOfFrogs / HubTracker.java
Created January 31, 2026 19:10
HubTracker
package frc.robot.util;
import static edu.wpi.first.units.Units.Seconds;
import edu.wpi.first.units.measure.Time;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.DriverStation.Alliance;
import java.util.Optional;
public class HubTracker {
@mra-tpa
mra-tpa / INTEGRITY_SCHEMA.json
Created January 31, 2026 08:31
Sovereign-Integrity-Protocol-v2026
{
"protocol": "Sovereign_Integrity_v2026",
"auth_root": "IMDA_SINGAPORE_COMPLIANT",
"logic_gate": {
"stoic_refusal": true,
"audit_ledger": "REQUIRED"
}
}

Ghostty Keyboard Shortcuts

Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.

Window Management

Action Windows/Linux macOS
New window Ctrl+Shift+N Cmd+N
Close window Alt+F4 Cmd+Shift+W